Renesas Electronics /R7FA6M1AD /GPT_OPS /OPSCR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OPSCR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (UF)UF 0 (VF)VF 0 (WF)WF 0 (U)U0 (V)V0 (W)W0 (0)EN 0 (0)FB 0 (0)P0 (0)N0 (0)INV 0 (0)ALIGN 0 (00)GRP0 (0)GODF 0 (0)NFEN 0 (00)NFCS

NFCS=00, FB=0, INV=0, GRP=00, N=0, P=0, GODF=0, NFEN=0, ALIGN=0, EN=0

Description

Output Phase Switching Control Register

Fields

UF

Input Phase Soft Setting WFThis bit sets the input phase by the software settings.This bit setting is valid when the OPSCR.FB bit = 1.

VF

Input Phase Soft Setting VFThis bit sets the input phase by the software settings.This bit setting is valid when the OPSCR.FB bit = 1.

WF

Input Phase Soft Setting UFThis bit sets the input phase by the software settings.This bit setting is valid when the OPSCR.FB bit = 1.

U

Input U-Phase MonitorThis bit monitors the state of the input phase.OPSCR.FB=0:External input monitoring by PCLKOPSCR.FB=1:Software settings (UF/VF/WF)

V

Input V-Phase MonitorThis bit monitors the state of the input phase.OPSCR.FB=0:External input monitoring by PCLKOPSCR.FB=1:Software settings (UF/VF/WF)

W

Input W-Phase MonitorThis bit monitors the state of the input phase.OPSCR.FB=0:External input monitoring by PCLKOPSCR.FB=1:Software settings (UF/VF/WF)

EN

Enable-Phase Output Control

0 (0): Not Output(Hi-Z external terminals).

1 (1): Output

FB

External Feedback Signal EnableThis bit selects the input phase from the software settings and external input.

0 (0): Select the external input.

1 (1): Select the soft setting(OPSCR.UF, VF, WF).

P

Positive-Phase Output (P) Control

0 (0): Level signal output

1 (1): PWM signal output (PWM of GPT0)

N

Negative-Phase Output (N) Control

0 (0): Level signal output

1 (1): PWM signal output (PWM of GPT0)

INV

Invert-Phase Output Control

0 (0): Positive Logic (Active High)output

1 (1): Negative Logic (Active Low)output

ALIGN

Input phase alignment

0 (0): Input phase is aligned to PCLK.

1 (1): Input phase is aligned PWM.

GRP

Output disabled source selection

0 (00): Select Group A output disable source

1 (01): Select Group B output disable source

2 (10): Select Group C output disable source

3 (11): Select Group D output disable source

GODF

Group output disable function

0 (0): This bit function is ignored.

1 (1): Group disable will clear OPSCR.EN Bit.

NFEN

External Input Noise Filter Enable

0 (0): Do not use a noise filter to the external input.

1 (1): Use a noise filter to the external input.

NFCS

External Input Noise Filter Clock selectionNoise filter sampling clock setting of the external input.

0 (00): PCLK/1

1 (01): PCLK/4

2 (10): PCLK/16

3 (11): PCLK/64

Links

()